<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    	<meta charset="UTF-8">
    <meta id="viewport" name="viewport" content="initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />

    <title>成考首页</title>
    <!-- build:css css/list.min.css -->
    <link rel="stylesheet" type="text/css" href="/Template/mobile/new/Static/css/list.css">
    <!-- endbuild -->
</head>
<body>
    <div class="header">
    <a href="<?php echo U('Mobile/Index/index');?>" class="home">
        <img src="/Template/mobile/new/Static/images/home.png" alt="">
    </a>
    <h1>
    	<?php if(CONTROLLER_NAME == 'Adult' ): ?>成人高考
		    <?php else: ?> value2<?php endif; ?>	
    </h1>
    <a href="<?php echo U('Mobile/Index/map');?>" class="list-icon">
        <img src="/Template/mobile/new/Static/images/icon-1.png" alt="">
    </a>
</div>

    <div class="list-header">
        <a href="javascript:;" class="go_back"></a>
        <span>
        	<?php if(I('get.type/d',0) == 1): ?>面试求职
				<?php elseif(I('get.type/d',0) == 2): ?>职位晋升
				<?php elseif(I('get.type/d',0) == 3): ?>复习指导
				<?php elseif(I('get.type/d',0) == 4): ?>成考专题
				<?php elseif(I('get.type/d',0) == 5): ?>搜索内容：<?php echo I('get.keyword/s',''); endif; ?>
        </span>
    </div>
    <div class="list">
        <div class="list-container">
            <div class="list-con" id="list-content">
                <!--<div class="style-1">
                    <a href="">浙江省宁波市关于2017年自考改革政策方案</a>
                    <p><span>11-04</span><span>16:42</span></p>
                </div>
                <div class="style-2">
                    <a class="list-title" href="">2016年各地区成人高考报名时间汇总</a>
                    <p><span>11-04</span><span>16:42</span></p>
                    <a href="" class="list-img">
                        <img src="./images/img-1.png" alt="">
                    </a>
                </div>
                <div class="style-3">
                    <a href="" class="list-title">2016年各地区成人高考报名时间汇总</a>
                    <div>
                        <a href=""><img src="./images/img-1.png" alt=""></a>
                        <a href=""><img src="./images/img-1.png" alt=""></a>
                        <a href=""><img src="./images/img-1.png" alt=""></a>
                    </div>
                    <p><span>11-04</span><span>16:42</span></p>
                </div>-->
                <input type="hidden"  id="num" value="<?php echo (count($data)); ?>" />
                <input type="hidden"  id="type" value="<?php echo I('get.type/d',0);?>" />
                <input type="hidden"  id="keyword" value="<?php echo I('get.keyword/s','');?>" />
                <?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; if($vo["thumb"] == ''): ?><div class="style-1">
		                    <a href='<?php echo U("article",array("id"=>$vo["id"]));?>'><?php echo ($vo["title"]); ?></a>
		                    <p><span><?php echo (date("m-d",$vo["publish_time"])); ?></span></p>
		                </div>
		            <?php else: ?>
		            	<div class="style-2">
		                    <a class="list-title" href='<?php echo U("article",array("id"=>$vo["id"]));?>'><?php echo ($vo["title"]); ?></a>
		                    <p><span><?php echo (date("m-d",$vo["publish_time"])); ?></span></p>
		                    <a href='<?php echo U("article",array("id"=>$vo["id"]));?>' class="list-img">
		                        <img src="<?php echo ($vo["thumb"]); ?>" alt="">
		                    </a>
		                </div><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                <div class="list-more" id="list-more">
                    <a href="javascript:;">正在加载中</a>
                </div>
            </div>
        </div>
    </div>
    <!--build:js js/layout.min.js -->
    <script src="/Template/mobile/new/Static/js/layout.js"></script>
    <!-- endbuild -->
    <!--build:js js/json2.min.js -->
    <script src="/Template/mobile/new/Static/js/json2.js"></script>
    <!-- endbuild -->
    <!--build:js js/list.min.js -->
    <script src="/Template/mobile/new/Static/js/list.js"></script>
    <!-- endbuild -->
    <script src="/Template/mobile/new/Static/js/jquery-3.1.0.min.js"></script>
    <script type="text/javascript">
    	$(function(){
    		$(".go_back").click(function(){
    			history.go(-1);
    		})
    	})
    </script>
</body>
</html>